package com.scm.persist.mybatis;

import com.scm.persist.model.ScmInventoryIn;
import com.scm.persist.model.ScmInventoryInExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmInventoryInMapper {
    int countByExample(ScmInventoryInExample example);

    int deleteByExample(ScmInventoryInExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmInventoryIn record);

    int insertSelective(ScmInventoryIn record);

    List<ScmInventoryIn> selectByExampleWithRowbounds(ScmInventoryInExample example, RowBounds rowBounds);

    List<ScmInventoryIn> selectByExample(ScmInventoryInExample example);

    ScmInventoryIn selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmInventoryIn record, @Param("example") ScmInventoryInExample example);

    int updateByExample(@Param("record") ScmInventoryIn record, @Param("example") ScmInventoryInExample example);

    int updateByPrimaryKeySelective(ScmInventoryIn record);

    int updateByPrimaryKey(ScmInventoryIn record);
}